package com.wuzheng.wisgo.sanitation.cloud.service.vehicleInfo;

import com.wuzheng.wisgo.sanitation.cloud.model.vehicleInfo.EcharsShowDataSelectVehInfoDto;
import com.wuzheng.wisgo.sanitation.cloud.paraandgetutil.VehicleException;
import com.wuzheng.wisgo.sanitation.cloud.repository.entity.vehicle.BaVehicle;
import com.wuzheng.wisgo.sanitation.framework.base.service.BaseService;

import java.util.List;


/*
 * @MethodName: 车辆详情接口
 * @Description: TODO
 * @Author: sunpeng
 * @Date: 2019/12/4
 **/
public interface VehicleInfoService extends BaseService<BaVehicle> {
    /*
     * @MethodName: getVehInfoToBase
     * @Description: 车辆详情信息查询
     * @Author: sunpeng
     * @Date: 2019/12/4
    **/
    public BaVehicle getVehInfoToBase(String vehVin) throws VehicleException;

    /*
     * @MethodName: getRecTotalMilesFromDay
     * @Description: 行驶里程数据
     * @Param: [vehVin,startTime, stopTime]
     * @Author: sunpeng
     * @Date: 2019/12/5
    **/
    public List<EcharsShowDataSelectVehInfoDto> getRecTotalMilesFromDay(String vehVin,String startTime,String stopTime) throws VehicleException;
    /*
     * @MethodName: getWorkRecTotalMiles
     * @Description: 作业数据：总里程-非作业里程
     * @Param: [vehVin, startTime, stopTime]
     * @Author: sunpeng
     * @Date: 2019/12/6
    **/
    public List<EcharsShowDataSelectVehInfoDto> getWorkRecTotalMiles(String vehVin,String startTime,String stopTime) throws VehicleException;
    /*
     * @MethodName: getRecFuelQuantity
     * @Description: 油耗数据
     * @Param: [vehVin, startTime, stopTime]
     * @Author: sunpeng
     * @Date: 2019/12/6
    **/
    public List<EcharsShowDataSelectVehInfoDto> getRecFuelQuantity(String vehVin,String startTime,String stopTime) throws VehicleException;


}
